import { NgModule } from '@angular/core';
import { Routes, RouterModule } from '@angular/router';
import {Demo01Component} from './study/demo01/demo01.component';
import {Demo02BasicComponent} from './study/demo02-basic/demo02-basic.component';
import {Demo03LianxiComponent} from './study/demo03-lianxi/demo03-lianxi.component';
import {Demo04DirectiveComponent} from './study/demo04-directive/demo04-directive.component';
import {Demo05LianxiComponent} from './study/demo05-lianxi/demo05-lianxi.component';

const routes: Routes = [
    {path:'',component:Demo05LianxiComponent}
];

@NgModule({
  imports: [RouterModule.forRoot(routes)],
  exports: [RouterModule]
})
export class AppRoutingModule { }
